[XEND] Add missing line from changeset 11653:3b7e11cbeb940
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 10 Oct 2006 15:02:30 +0000 (16:02 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 10 Oct 2006 15:02:30 +0000 (16:02 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/util/blkif.py

index ba42d826ccb33b7aa31360386f055d5ac3baec6b..06d5e166a1c8e480d510f7eb8ff577e161251d96 100644 (file)
@@ -63,7 +63,7 @@ def blkdev_uname_to_file(uname):
     """Take a blkdev uname and return the corresponding filename."""
     fn = None
     if uname.find(":") != -1:
-        (typ, fn) = uname.split(":")
+        (typ, fn) = uname.split(":", 1)
         if typ == "phy" and not fn.startswith("/"):
             fn = "/dev/%s" %(fn,)
         if typ == "tap":